package com.linkage.bss.crm.packagemgr.model;

import java.io.Serializable;

public class CheckResult implements Serializable {
	/**
	 * 校验结果类
	 */
	private static final long serialVersionUID = 8731074248145249745L;
	private boolean result; //校验结果
	private String errMsg; //校验失败的提示信息
	private String promptMsg; //校验提示信息

	public CheckResult() {

	}

	public CheckResult(boolean result) {
		this.result = result;
	}

	public CheckResult(boolean result, String errMsg) {
		this.result = result;
		this.errMsg = errMsg;
	}

	public CheckResult(boolean result, String errMsg, String promptMsg) {
		this.result = result;
		this.errMsg = errMsg;
		this.promptMsg = promptMsg;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public boolean isResult() {
		return result;
	}

	public void setResult(boolean result) {
		this.result = result;
	}

	public String getPromptMsg() {
		return promptMsg;
	}

	public void setPromptMsg(String promptMsg) {
		this.promptMsg = promptMsg;
	}

}
